package com.code.service.constants;

import java.util.Arrays;
import java.util.List;

/**
 * @author ggh
 * @date 2023/4/24
 */
public class Constants {
    /**
     * 自定义消息的魔数，用于区分http消息还是自定义消息
     */
    public static final String MAGIC_NUM = "010101";

    /**
     * http请求方法
     */
    public static final List<String> HTTP_METHODS = Arrays.asList("POST", "GET", "OPTIONS", "PUT", "PATCH", "DELETE", "TRACE", "CONNECT");
}
